package xman.com.xmancloudserver.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName SchemaService
 * @Description T0D0
 * @Author LiuWenYu
 * @Date 2021/7/26 14:47
 * @Version 1.0
 **/
//@FeignClient(
//        name = "service-app-telecontrol",
//        fallback = ClientServiceFallback.class
//)
@FeignClient(name = "server")

public interface ClientService {

    @RequestMapping(
            value = {"/hello/hello"},
            method = {RequestMethod.GET}
    )
    String  hello();
}
